import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'


import { NavBar} from 'vant';

Vue.use(NavBar);

import { Checkbox, CheckboxGroup } from 'vant';

Vue.use(Checkbox);
Vue.use(CheckboxGroup);

import { Image as VanImage } from 'vant';

Vue.use(VanImage);

import { Stepper } from 'vant';

Vue.use(Stepper);

import { Button } from 'vant';

Vue.use(Button);

import { Dialog } from 'vant';

// 全局注册
Vue.use(Dialog);




Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  
]

const router = new VueRouter({
  routes
})

export default router
